import Vue from 'vue'
import App from './App'
import router from './router'

import '../node_modules/mint-ui/lib/style.min.css'

import mintui from 'mint-ui'
Vue.use(mintui)

import './mui/css/mui.css'


import  '../static/css/site.css'

import vueResource from 'vue-resource'
Vue.use(vueResource)

import moment from "moment"
Vue.filter("datefmt", function (input,fmtstring) {
    return moment(input).format(fmtstring)
})
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App },
})
